/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.adapter.driving.persistence.organization.mapper;

import com.lap.auth.adapter.driving.persistence.organization.po.OrganizationPo;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrgMapper {

  void insert(OrganizationPo po);

  int deleteByPrimaryKey(Integer id);

  OrganizationPo selectByPrimaryKey(Integer id);

  List<OrganizationPo> selectAll();

  List<OrganizationPo> selectByIds(List<Integer> idList);

  List<OrganizationPo> findByPid(Integer pid);

  int updateByPrimaryKey(OrganizationPo po);
}
